﻿<%@ Page Title=": เปลี่ยนรหัสผ่าน :" Language="C#" MasterPageFile="~/masterpage/Site.Master" AutoEventWireup="true" CodeBehind="changepassword.aspx.cs" Inherits="Web.pages.changepassword" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register TagPrefix="ajax" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit, Version=4.1.7.725, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
         <div id="opacityDiv" class="ToogleStyle">
        </div>
        
    <div>
        <asp:UpdatePanel ID="upl" UpdateMode="Conditional" runat="server">
            <ContentTemplate>
                            <div style="width: 100%;height: 100%;margin-left: 400px;"><asp:Label ID="Label1" CssClass="label" Font-Size="12pt" runat="server" Text=": เปลี่ยนรหัสผ่าน :"></asp:Label></div>
                        <div style="width: 100%;height: 100%;text-align: center; "><fieldset>
                            <table style="padding: 2px;">
                                <tr>
                                    <td style="text-align: right;vertical-align: middle;width:50%;">
                                        <span class="field-validation-error">*</span><asp:Label ID="Label8" CssClass="label"  runat="server" Text="รหัสผ่านเดิม"></asp:Label> :</td>
                                    <td style="text-align: left;vertical-align: middle;">
                                        <asp:TextBox ID="txPasswordOld" MaxLength="20" TextMode="Password" CssClass="textbox" runat="server"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td style="text-align: right;vertical-align: middle;">
                                        <span class="field-validation-error">*</span><asp:Label ID="Label9" CssClass="label" runat="server" Text="รหัสผ่านใหม่"></asp:Label> :</td>
                                    <td style="text-align: left;vertical-align: middle;">
                                        <asp:TextBox ID="txPasswordNew" MaxLength="20" TextMode="Password" CssClass="textbox" runat="server"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td style="text-align: right;vertical-align: middle;">
                                        <span class="field-validation-error">*</span><asp:Label ID="Label10" CssClass="label" runat="server" Text="ยืนยันรหัสผ่านอีกครั้ง"></asp:Label> :</td>
                                    <td style="text-align: left;vertical-align: middle;">
                                        <asp:TextBox ID="txConfirm" MaxLength="20" TextMode="Password" CssClass="textbox" runat="server"></asp:TextBox></td>
                                </tr>
                                <tr>
                                    <td style="text-align: right;vertical-align: middle;"></td>
                                    <td style="text-align: left;vertical-align: middle;">
                                        <asp:Button ID="btSubmit" runat="server" Text="ยืนยัน" OnClick="btSubmit_Click" />
                                    </td>
                                </tr>
                            </table>
                        </fieldset></div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
